<!DOCTYPE html>
<html lang="en-us">

<head>
    <meta charset="utf-8">
    <title>FaceBook 广告辅助投放系统-图片预览</title>
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="renderer" content="webkit">
    <!--360 浏览器支持-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=1;" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta name="format-detection" content="telephone=yes" />
    <meta content="false" name="twcClient" id="twcClient" />
    <link rel="stylesheet" href="../src/css/pages/preview.css">
    <link rel="shortcut icon" href="http://www.clientgear.com/app/images/logo.ico" mce_href="http://www.clientgear.com/app/images/logo.ico" type="image/x-icon">
</head>

<body>
    <div class="container-fluid">
        <div class="row" id="preview-page">

        </div>
    </div>
    <script type="text/x-template" id="t-preview-demo1">
        <!-- col-md-preview 第一版-->
        <div class="col-md-3 col-md-preview hidden">
            <header class="preview-title">Suggested App</header>
            <section class="preview-body">
                <div class="media">
                    <div class="media-left">
                        <a href="#">
                            <img class="media-object" data-src="holder.js/40x40" alt="40x40" src="https://fbexternal-a.akamaihd.net/safe_image.php?d=AQCfr2B4797U8Im3&w=200&h=200&url=https%3A%2F%2Flh3.googleusercontent.com%2FOtO-t4uZYm0eq76Ngl4JK5u7yYacdjbJ8zpuXZVzsvFOqXNLZ14gc_RZndNzYSYCMA%3Dw300&jq=85&ext=jpg"
                            data-holder-rendered="true">
                        </a>
                    </div>
                    <div class="media-body">
                        <h4 class="media-heading">Daily Magical Horoscope</h4>
                        <p>Sponsored · Take an AD · <i class="glyphicon glyphicon-globe"></i></p>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-body">
                        <span>
                            <p>El mejor juego de estrategia del 2015! No te lo pierdas nunca más!</p>
                        </span>
                        <img src="https://fbexternal-a.akamaihd.net/safe_image.php?d=AQBhghfhGrX0odEq&w=320&h=167&url=https%3A%2F%2Flh3.googleusercontent.com%2FC_KcDVPNg4IM2jTGS4PLKde8sRCED69F9ZXmfsmLjheIzeQla-gqUzhMYO0S6U9U7XQR%3Dh900&cfs=1" alt="">
                        <div class="media">
                            <div class="media-body">
                                <h4 class="media-heading">HoroscopeGPNewAc</h4>
                                <p>Get it on Google Play</p>
                            </div>
                            <div class="media-right">
                                <button type="button" class="btn-install" name="button">Install Now</button>
                            </div>
                        </div>
                    </div>
                </div>

            </section>
            <footer class="preview-banner text-center clearfix">
                <div class="preview-like">
                    <i class="fa fa-thumbs-up"></i>
                    <span class="preview-desc">Like</span>
                </div>
                <div class="preview-comment">
                    <i class="glyphicon glyphicon-comment"></i>
                    <span class="preview-desc">Comment</span>
                </div>
                <div class="preview-share">
                    <i class="glyphicon glyphicon-share-alt"></i>
                    <span class="preview-desc">Share</span>
                </div>
            </footer>
        </div>
        <!-- /col-md-preview -->
    </script>
    <script type="text/x-template" id="t-preview-demo2">
        <% _.each(imgs,function (src) { %>
            <!-- col-md-preview  第二版-->
            <div class="col-md-3 col-md-preview">
                <div class="panel panel-default">
                    <div class="panel-heading preview-panel-heading">
                        <h3 class="panel-title preview-title">Suggested App</h3>
                    </div>
                    <div class="panel-body" style="padding:10px;">
                        <div class="media">
                            <div class="media-left">
                                <a href="javascript:void(0);">
                                    <img class="media-object preview-logo" alt="40x40" src="">
                                </a>
                            </div>
                            <div class="media-body">
                                <h4 class="media-heading">Your Apps Name</h4>
                                <p>Sponsored · Take an AD · <i class="glyphicon glyphicon-globe"></i></p>
                            </div>
                        </div>
                        <div>
                            <span>
                                <p class="preview-ad-txt">This is ad words for your app.</p>
                            </span>
                            <div class="preview-see-link">
                                <a href="javascript:void(0);">See Translation</a>
                            </div>
                            <div class="preview-image-frame">
                                <img class="preview-image" src="<%=src%>">
                            </div>
                        </div>
                        <div class="media">
                            <div class="media-body">
                                <h4 class="media-heading">Your Ad Title</h4>
                                <p>Get it on platform.</p>
                            </div>
                            <div class="media-right">
                                <button type="button" class="btn-install" name="button">Install Now</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- /col-md-preview -->
        <% }); %>

    </script>
    <script type="text/javascript">
    var require = {
        waitSeconds: 15,
        urlArgs : "bust="+new Date().getTime()
    };
</script>
    <script type="text/javascript" src="../lib/requirejs/require.js" data-main="../src/js/preview"></script>
</body>

</html>
